// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.github.api.data

class GHMannequin(id: String,
                  override val login: String,
                  override val url: String,
                  override val avatarUrl: String,
                  val name: String?)
  : GHNode(id), GHActor {
  override fun getPresentableName(): String = name ?: login
}
